package com.liang.study.design.constant;

/**
 * @author lsm
 * @ClassName RuleEnum.java
 * @Description TODO
 * @createTime 2023年12月21日 10:16:00
 */
public enum RuleEnum {

    AGE(1,"年龄"),SEX(2,"性别");

    private int code;
    private String msg;

    RuleEnum(int code,String msg){
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
